import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '信息',
    align: "center",
    dataIndex: 'information'
  },
  {
    title: '类型',
    align: "center",
    dataIndex: 'state'
  },
  {
    title: '联系方式',
    align: "center",
    dataIndex: 'number'
  },
  {
    title: '发布人',
    align: "center",
    dataIndex: 'companyId'
  },
  {
    title: '优先级',
    align: "center",
    dataIndex: 'priority'
  },
  {
    title: 'other',
    align: "center",
    dataIndex: 'other'
  },
  {
    title: 'another',
    align: "center",
    dataIndex: 'another'
  },
  {
    title: 'otherid',
    align: "center",
    dataIndex: 'otherid'
  },
  {
    title: '浏览量',
    align: "center",
    dataIndex: 'llnums'
  },
  {
    title: 'dianzan',
    align: "center",
    dataIndex: 'dianzan'
  },
  {
    title: 'shoucang',
    align: "center",
    dataIndex: 'shoucang'
  },
  {
    title: 'dianji',
    align: "center",
    dataIndex: 'dianji'
  },
];

// 高级查询数据
export const superQuerySchema = {
  information: {title: '信息',order: 0,view: 'textarea', type: 'string',},
  state: {title: '类型',order: 1,view: 'text', type: 'string',},
  number: {title: '联系方式',order: 2,view: 'text', type: 'string',},
  companyId: {title: '发布人',order: 3,view: 'text', type: 'string',},
  priority: {title: '优先级',order: 4,view: 'text', type: 'string',},
  other: {title: 'other',order: 5,view: 'text', type: 'string',},
  another: {title: 'another',order: 6,view: 'text', type: 'string',},
  otherid: {title: 'otherid',order: 7,view: 'text', type: 'string',},
  llnums: {title: '浏览量',order: 8,view: 'text', type: 'string',},
  dianzan: {title: 'dianzan',order: 9,view: 'text', type: 'string',},
  shoucang: {title: 'shoucang',order: 10,view: 'text', type: 'string',},
  dianji: {title: 'dianji',order: 11,view: 'text', type: 'string',},
};
